﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Revis.VClinicNet.Core.Domain;
using Revis.VClinicNet.Core.Domain.Credentials;

namespace Revis.VClinicNet.Core.Domain.Repository
{
    public interface IWorkerUserRepository : IRepository<WorkerUser>
    {
        WorkerUser Find(string login, string passwordHash);
        WorkerUser Find(string login);
        IList<WorkerUser> FindBy(string field, string value, bool activity);
    }
}
